package com.javaweb.service.impl;

import com.javaweb.service.PermService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @desc:
 * @author: Ping
 * @date: 2024/11/5 20:28
 */
@Service
public class PermServiceImpl implements PermService {
    @Override
    public List<String> findPermsByRoleName(String roleName) {
        return null;
    }

    @Override
    public List<String> findPermsByRoleName(List<String> roleNames) {
        // 为了简化，直接返回如下合法请求列表。
        return List.of("/articles/page", "/articles/test");
    }
}
